package com.example.phoneshop.service;

import com.example.phoneshop.entity.User;

import java.util.List;
import java.util.Map;

public interface UserService {
    /**
     * @author nozomi
     * @date 2018/7/7 16:25
     * @description
     */
    User findUserByPhone(String phone);
    int insertUser(Map map);
    User findUserByEmail(String email);
    List<Map> findUserAll();
    int delete(int id);
}
